<template>
	<view class="position-fixed main main-bg-color text-white
	px-4 rounded shadow flex align-center justify-between vivify"
	@tap="$emit('confirm')"
	>
		<text class="iconfont icon icon-queren "></text>
		<text>确认{{num}}</text>
	</view>
</template>

<script>
	export default{
		props:{
			num:{
				type:Number,
				default:0
			},
			show:{
				type:Boolean,
				default:false
			}
		},
		computed:{
			animation(){
				return this.show?'popIn':'popOut'
			}
		}
	}
</script>

<style scoped>
	.main{
		height: 90rpx;
		width: 120rpx;
		left: 50rpx;
		bottom: 50rpx;
	}
	.icon{
		font-size: ;
	}
</style>